<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<System.Collections.Generic.IEnumerable<Myotragus.Store.Model.Domain.ICategory>>" %>

<%= Html.ListBox("Categories", Model.Select(cat => new SelectListItem { Text=cat.Name, Value=cat.Id.ToString() })) %>